package com.shenfc.fxzj.action;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.stereotype.Component;

/**
 * 作者:shenfc
 * 功能描述:项目启动后初始化类
 * 创建日期:2018/4/9 9:09
 */
@Component
public class InitAction implements CommandLineRunner {

    @Autowired
    private RedisTemplate redisTemplate;

    @Override
    public void run(String... args) throws Exception {
        System.out.println(">>>>>>>>>>>>>>>服务启动完成<<<<<<<<<<<<<");
    }
}
